ostree.spec.in: Update from Fedora review comments
authorColin Walters <walters@verbum.org>
Fri, 16 Nov 2012 15:11:39 +0000 (10:11 -0500)
committerColin Walters <walters@verbum.org>
Fri, 16 Nov 2012 15:11:39 +0000 (10:11 -0500)
See https://bugzilla.redhat.com/show_bug.cgi?id=819951

packages/ostree.spec.in

index c22d5432af1b34af60de331092ed0a757666576b..41354be94930a502ff27fdfc7dab0f72e6b9f90e 100644 (file)
@@ -11,7 +11,7 @@
 %if 0%{?rhel}
 # HACK to fix building on RHEL6; find_debuginfo is crashing, not sure
 # why
-%global debug_package %{nil}
+%define debug_package %{nil}
 %endif
 
 Summary: Linux-based operating system develop/build/deploy tool
@@ -20,6 +20,14 @@ Version: 2012.8
 Release: 1%{?dist}
 #VCS: git:git://git.gnome.org/ostree
 Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/%{build_name}-%{version}.tar.gz
+# The libostree.so (currently private) shared library, and almost all
+# of the utilities are licensed under the LGPLv2+.  Only at present
+# one utility program (ostree-switch-root) is forked from util-linux under
+# the GPL.
+# The BSD is there basically just for some random scripts, nothing
+# important.
+# As always, consult the upstream COPYING file, and individual source
+# files for the canonical license status.
 License: LGPLv2+ and GPLv2+ and BSD
 URL: http://live.gnome.org/OSTree
 # We always run autogen.sh
@@ -69,12 +77,13 @@ env NOCONFIGURE=1 ./autogen.sh
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%doc COPYING README.md
 %{_bindir}/ostree
 %{_bindir}/ostree-pull
 %{_bindir}/ostree-run-triggers